num1 = 21
num2 = 1.75
num3 = "汤"
str_num1 = str(num1)        #将num1转换为字符串
str_num2 = str(num2)        #将num2转化为字符串
int_num1 = int(num2)        #将num2转换为整数
flaot_num1 = float(num1)    #将num1转换为浮点数
print("原本来的值为为:",num1,"转换后为类型:",type(str_num1),str_num1)
print("原本来的值为为:",num2,"转换后为类型:",type(str_num2),str_num2)
print("原本来的值为为:",num2,"转换后为类型:",type(int_num1),int_num1)
print("原本来的值为为:",num1,"转换后为类型:",type(flaot_num1),flaot_num1)

